package com.caiyue.wyymusic.pojo;

import java.util.Date;
import java.util.List;

/**
 * 日期:2018/7/13
 * 作者:yangt
 * 描述:音乐类目pojo
 */
public class MCategory {
    private int id;
    private String cateName;
    private String cateIcon;
    private String catePId;
    private int isHot;
    private int isDel;
    private Date created;
    private Date updated;
    /*一对多关系映射*/
    List<MCategory> mcates;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCateName() {
        return cateName;
    }

    public void setCateName(String cateName) {
        this.cateName = cateName;
    }

    public String getCateIcon() {
        return cateIcon;
    }

    public void setCateIcon(String cateIcon) {
        this.cateIcon = cateIcon;
    }

    public String getCatePId() {
        return catePId;
    }

    public void setCatePId(String catePId) {
        this.catePId = catePId;
    }

    public int getIsDel() {
        return isDel;
    }

    public void setIsDel(int isDel) {
        this.isDel = isDel;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }

    public int getIsHot() {
        return isHot;
    }

    public void setIsHot(int isHot) {
        this.isHot = isHot;
    }

    public List<MCategory> getMcates() {
        return mcates;
    }

    public void setMcates(List<MCategory> mcates) {
        this.mcates = mcates;
    }

    @Override
    public String toString() {
        return "MCategory{" +
                "id=" + id +
                ", cateName='" + cateName + '\'' +
                ", cateIcon='" + cateIcon + '\'' +
                ", catePId='" + catePId + '\'' +
                ", isHot=" + isHot +
                ", isDel=" + isDel +
                ", created=" + created +
                ", updated=" + updated +
                ", mcates=" + mcates +
                '}';
    }
}
